package com.edu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 导航表
 * </p>
 *
 * @author GongChengShi
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EduWebsiteNavigate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 导航显示名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 导航显示位置
     */
    @TableField("URL")
    private String url;

    /**
     * 是否在新页面打开0是1否
     */
    @TableField("NEWPAGE")
    private Integer newpage;

    /**
     * 类型：INDEX首页、USER个人中心、FRIENDLINK尾部友链、TAB尾部标签
     */
    @TableField("TYPE")
    private String type;

    /**
     * 显示排序
     */
    @TableField("ORDERNUM")
    private Integer ordernum;

    /**
     * 0正常1冻结
     */
    @TableField("STATUS")
    private Integer status;


}
